package com.kfgj.hkp.dao.house.impl;

import com.kfgj.hkp.common.dataaccess.mybatis.AbstractMyBatisDao;
import com.kfgj.hkp.dao.house.IHouseLocRegionDbDao;
import com.kfgj.hkp.entity.house.HouseLocRegionEntity;
import org.springframework.stereotype.Repository;

/**
 * Create By hjh on 2018/7/31
 */
@Repository
public class HouseLocRegionDbDaoImpl extends AbstractMyBatisDao<HouseLocRegionEntity,Long> implements IHouseLocRegionDbDao {

    @Override
    public int deleteByLocationCode(String locationCode) {
        return this.getSqlSession().delete(this.mapperNamespace+"deleteByLocationCode",locationCode);
    }
}
